<template>
    <div>
      <h1>this is b</h1>
    </div>
</template>

<script>
export default {
  name: 'test',
  methods: {
      clicked (title) {
          alert(1)
      }
  },
  mounted () {
    //   $event.$on('changeTitle',this.clicked)
  }
}
</script>

<style lang="stylus" scoped>
*{
    text-align: center;
  }
</style>
